﻿#include "BaseDevice.h"
#include <QDebug>

BaseDevice::BaseDevice(QObject *parent):BaseItem(parent)
{

}

void BaseDevice::SetConfig(QJsonObject obj)
{
    BaseItem::SetConfig(obj);
}

QWidget *BaseDevice::GetConfigWidget()
{
    static QWidget w;
    // 设置窗口标题
    w.setWindowTitle("未配置界面");
    return &w;
}

bool BaseDevice::Stop()
{
    return true;
}

bool BaseDevice::Reset()
{
    return true;
}


bool BaseDevice::Init()
{
    return true;
}
